<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<link type="text/css" rel="stylesheet" href="css/top.css">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div class="TOP">
	<div id="top1Logo">
		<img src="images/logo_1.gif" height="68px" width="170px">
	</div>
	<div id="top1Txt1">
		天天低价 物美价廉
	</div>
	<div id="top1Txt2">
		<a href="${CONTEXT_ROOT}/MainServlet">网站首页</a> | 加入收藏 | 联系我们</div>
		<div id="top1Login">
			<c:if test="${member==null}">

				<a href="${CONTEXT_ROOT}/memberLogin.jsp">登录</a> |
			<a href="${CONTEXT_ROOT}/SysMemberServlet?method=preadd">注册</a>

			</c:if>
			<c:if test="${member!=null}">
				<font color="blue"><strong>欢迎:${member.name}|<a
						href="${CONTEXT_ROOT}/shoppingCart.jsp">【购物车】</a>|<a
						href="${CONTEXT_ROOT}/MySpaceServlet?memberId=${member.memberId}" target="_blank">【个人空间】</a>|
						<a href="${CONTEXT_ROOT}/MemberLogoutServlet">【安全退出】</a> </strong> </font>
			</c:if>
		
	</div>
</div>
<div class="TOP">
	<div id="top2Nav">
		<ul>
			<li>
				<a href="index.jsp">首页</a>
			</li>
			<li>
				<a href="${CONTEXT_ROOT}/SecondServlet?method=category&parentCategoryId=0">分类</a>
			</li>
			<li>
				<a href="${CONTEXT_ROOT}/SysNoticeServlet?method=noticeMore">公告</a>
			</li>
			<li>
				<a href="#">出版社</a>
			</li>
		</ul>

		<div id="topSearch">
			<form action="${CONTEXT_ROOT}/SysBookServlet" method="post">
				<input type="hidden" name="method" value="search">
				<input type="text" name="bookName" value="${bookName}" size="15">
				<input type="submit" value="搜索">
				(按书名搜索)
			</form>

		</div>
	</div>

</div>